//--------------------------------------------------------------------------------
//
//  Written by: Tyson Bailey
//
//  Date: 2/17/2010
//
//  Purpose: File with "variables" for most if not all registers in the PPC 403
//
//
//  Notes: 
//
//
//                    #  Who          Date
//  Revision History:
//--------------------------------------------------------------------------------

//Somehow passing a binary value in to the r[bin] will give us the register to look at.


class ppc403register
{
private:
        
double long gpr[32];
double long spr[52];



/* These below need to be working
double long pc = &spr[0];  //This is the program counter.
double long msr = spr[1];
double long cr = spr[2];
double long lr = spr[3];
double long ctr = spr[4];
double long xer = spr[5];
double long fpscr = spr[6];
double long pvr = spr[7];
double long sprg0 = spr[8];
double long sprg1 = spr[9];
double long sprg2 = spr[10];
double long sprg3 = spr[11];
double long srr0 = spr[12];
double long srr1 = spr[13];
double long tbl = spr[14];
double long tbu = spr[15];
double long mcsr = spr[16];
double long icdbdr = spr[17];
double long esr = spr[18];
double long dear = spr[19];
double long evpr = spr[20];
double long tsr = spr[21];
double long tcr = spr[22];
double long pit = spr[23];
double long srr2 = spr[24];
double long srr3 = spr[25];
double long dbsr = spr[26];
double long dbcr0 = spr[27];
double long iac1 = spr[28];
double long iac2 = spr[29];
double long dac1 = spr[30];
double long dac2 = spr[31];
double long dccr = spr[32];
double long iccr = spr[33];
double long zpr = spr[34];
double long pid = spr[35];
double long sgr = spr[36];
double long dcwr = spr[37];
double long ccr1 = spr[38];
double long ccr0 = spr[39];
double long dbcr1 = spr[40];
double long dvc1 = spr[41];
double long dvc2 = spr[42];
double long iac3 = spr[43];
double long iac4 = spr[44];
double long sler = spr[45];
double long sprg4 = spr[46];
double long sprg5 = spr[47];
double long sprg6 = spr[48];
double long sprg7 = spr[49];
double long su0r = spr[50];
double long usprg0 = spr[51];
*/

};









